package com.softa.service.system;

import com.github.pagehelper.PageInfo;
import com.softa.dao.dto.SysMessageDTO;
import com.softa.vo.DataGridRequest;
import com.softa.vo.QueryRequest;

import java.util.List;

public interface SysMessageService {

   PageInfo<SysMessageDTO> queryProductTypeByParam(DataGridRequest request, final QueryRequest queryRequest);

   int selectCountByCondition();

   Integer updateRead(List<Long> ids);

   Integer deleteMessage(List<Long> ids);

   int saveMessage(Long userId, String content);

   Long getMessageCountByParam(Long userId);
}
